package com.yeyks.common.appcommon.param.account;

import com.yeyks.common.appcommon.result.CommonAuthHeader;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: dagny
 * @date: 2019/11/4 0004 16:00
 */
@ApiModel(description = "查询开发商的输入信息")
@Data
public class QueryDeveloperParam extends CommonAuthHeader implements Serializable {
    private static final long serialVersionUID = -9188573416436474995L;

    @ApiModelProperty("输入名称")
    private String name;

    @ApiModelProperty(value = "开发商的类型 1, 臻享开发商， 2，优享开发商",allowableValues = "1,2")
    @NotNull(message = "开发商类型不能为空")
    private Integer developType;
}
